package com.px.project.module.ht.entity;

import javax.validation.constraints.Max;

import com.px.common.entity.FullBaseEntity;

import com.baomidou.mybatisplus.annotation.TableName;

import lombok.*;
import lombok.experimental.Accessors;

/**
 * 联络通道设置
 *
 * @author 品讯科技
 * @since 2023-10-08
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = true)
@TableName("ht_contact_channel")
public class ContactChannelDao extends FullBaseEntity {
    private static final long serialVersionUID = 6371997207570944136L;
    /**
     * 所属线别
     */
    private String lineType;
    /**
     * 中心里程km
     */
    private Integer mileageKm;
    /**
     * 中心里程m
     */
    @Max(value = 999, message = "中心里程（米）最大值999")
    private Integer mileageM;
    /**
     * 联络通道序号
     */
    private Integer contactChannelNum;
}